<script setup>
import {getPOHtmlStyle} from "@/plugins/pageoffice/pageoffice-common.js";

const props = defineProps({
  poHtml: String
})
</script>

<template>
  <el-row style="height: 100%">
    <el-col :span="24" class="card-box">
      <el-form method="post">
        <slot></slot>
        <!-- 此div用来加载PageOffice客户端控件 -->
        <div :style="getPOHtmlStyle()" v-html="poHtml"></div>
      </el-form>
    </el-col>
  </el-row>
</template>

<style scoped lang="scss">

</style>